package com.cnpinxi.dao;

import com.cnpinxi.domain.User;

import java.util.List;
import java.util.Map;

public interface UserMapper {

    int insertUser(User record);

      List<User> getUserList(Map<String, String> map);

    public User getUserById(Long userId);
User getUser(User user);
User getUserByphone(User user);
    User getParentUserByopenId(String openId);
    int updateUserByPrimaryKeySelective(User record);

    int updateUserById(User record);
}